vendor/golang.org/x/net/dns/dnsmessage.Name.pack (method)

10 uses

	vendor/golang.org/x/net/dns/dnsmessage (current package)
		message.go#L1671: 	if msg, err = h.Name.pack(msg, compression, compressionOff); err != nil {
		message.go#L1940: func (n *Name) pack(msg []byte, compression map[string]int, compressionOff int) ([]byte, error) {
		message.go#L2137: 	msg, err := q.Name.pack(msg, compression, compressionOff)
		message.go#L2233: 	return r.CNAME.pack(msg, compression, compressionOff)
		message.go#L2263: 	msg, err := r.MX.pack(msg, compression, compressionOff)
		message.go#L2300: 	return r.NS.pack(msg, compression, compressionOff)
		message.go#L2327: 	return r.PTR.pack(msg, compression, compressionOff)
		message.go#L2365: 	msg, err := r.NS.pack(msg, compression, compressionOff)
		message.go#L2369: 	msg, err = r.MBox.pack(msg, compression, compressionOff)
		message.go#L2496: 	msg, err := r.Target.pack(msg, nil, compressionOff)